package com.longma.server.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class InspectionProjectDTO {

    @ApiModelProperty(value = "巡视记录id")
    @NotNull(message = "巡视记录id")
    private Integer inspectionRecordId;

    @ApiModelProperty(value = "巡视项目名称")
    @NotNull(message = "巡视项目名称不能为空")
    private String name;

    @ApiModelProperty(value = "排序号")
    private Integer sortNum;

    @ApiModelProperty(value = "巡视项目描述")
    private String description;

    @ApiModelProperty(value = "是否完成")
    private Integer isFinished;

}
